package com.baiyang.server.service.book.impl;


import com.baiyang.server.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baiyang.server.dao.book.RelBookTypeDao;
import com.baiyang.server.model.book.RelBookType;
import com.baiyang.server.service.book.RelBookTypeService;

/**
 * 
 * @author XVX
 * BY: @Primary 注解帮助生命@Autowired优先注入的实列
 */
@Service	
public class RelBookTypeServiceImpl extends BaseServiceImpl<RelBookTypeDao, RelBookType> implements RelBookTypeService{
    @Autowired
    private RelBookTypeDao relBookTypeDao = null;
    @Override
    public void deleteByBookId(String bookId) {
        relBookTypeDao.deleteByBookId(bookId);
    }
}
